7cf2bf27164f64007726d1a307938d3ecd4c48d8,graylog2-server/src/main/java/org/graylog2/rest/resources/dashboards/DashboardsResource.java,DashboardsResource,create,#CreateDashboardRequest#,108
Before Change
dashboardData.put("title", cr.title());
dashboardData.put("description", cr.description());
dashboardData.put("creator_user_id", getCurrentUser().getName());
dashboardData.put("created_at", Tools.iso8601());
final Dashboard dashboard = new DashboardImpl(dashboardData);
final String id = dashboardService.save(dashboard);
After Change
restrictToMaster();
// Create dashboard.
final Dashboard dashboard = dashboardService.create(cr.title(), cr.description(), getCurrentUser().getName(), Tools.iso8601());
final String id = dashboardService.save(dashboard);
dashboardRegistry.add(dashboard);